package com.tepth.appmanageservice.protocol.bodys.aes;

import com.tepth.appmanageservice.protocol.interfaces.ISend;

public class AesKey implements ISend {
	public final static short ID = 0x0F05;

	private byte[] keys;
	private byte[] data;

	public byte[] getKeys() {
		return this.keys;
	}

	public void setKeys(byte[] keys) {
		this.keys = keys;
	}

	@Override
	public short getId() {
		return ID;
	}

	@Override
	public short getLength() {
		return (short) this.data.length;
	}

	@Override
	public byte[] getResult() {
		return this.data;
	}

	@Override
	public void load() {
		this.data = this.keys;
	}
}